package chapter_8;

public class Son2<T> implements Father<T>{
    @Override
    public void print(T t) {
    }
    @Override
    public T get() {
        return null;
    }
    public static void main(String[] args) {
        Son2<String> son2 = new Son2<>();
        Son2<Boolean> son3 = new Son2<>();
        Son2<Integer> son4 = new Son2<>();
        String s = son2.get();
        Boolean b = son3.get();
        Integer i = son4.get();

    }
}
